home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 March / EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso / earcd / dtype / txtdtpch.lha / textdtpatch / SMakefile next >
Makefile  |  1995-07-04  |  2KB  |  73 lines

  1. #
  2. # $PROJECT: text.datatype patch
  3. #
  4. # $VER: SMakefile 39.1 (03.07.95)
  5. #
  6. # by
  7. #
  8. # Stefan Ruppert , Windthorststraße 5 , 65439 Flörsheim , GERMANY
  9. #
  10. # (C) Copyright 1995
  11. # All Rights Reserved !
  12. #
  13. # $HISTORY:
  14. #
  15. # 03.07.95 : 039.001 : initial
  16. #
  17.  
  18. NAME     = textdtpatch
  19. SRCS     = $(NAME).c
  20. DOC      = $(NAME).doc
  21. OBJS     = $(NAME).o
  22. LHA      = Release:$(NAME).lha
  23. README   = Release:$(NAME).readme
  24.  
  25. ##############################################################################
  26. #
  27. # SAS definition
  28. #
  29.  
  30. # DEBUG      = DEBUG=LINE DEFINE=DEBUG
  31. DEBUG      =
  32. SCOPTS     = VERBOSE NOSTKCHK NOGST
  33. SLOPT      = NOICONS VERBOSE SMALLDATA SMALLCODE
  34. # SCOPTIMIZE =
  35. SCOPTIMIZE = OPT OPTTIME
  36. LIB        = lib:amiga.lib lib:sc.lib lib:debug.lib
  37.  
  38. all: $(NAME)
  39.  
  40. $(OBJS): $(SRCS)
  41.     sc $(DEBUG) $(SCOPTS) $(SCOPTIMIZE) $*.c
  42.  
  43. $(NAME): $(OBJS)
  44.     slink FROM $*.o TO $@ $(SLOPT) LIB $(LIB)
  45.  
  46. documentation: $(DOC)
  47.  
  48. $(DOC): $(SRCS)
  49.     makedoc $(SRCS) AUTODOC $(DOC) TABS 3 VERBOSE NOICON
  50.  
  51. release: $(NAME) $(DOC) $(LHA) $(README)
  52.  
  53. $(LHA): $(SRCS) $(NAME)
  54.     echo "cd /*nlha -r r $(LHA) $(NAME) $(NAME).info" >pipe:lha
  55.     execute pipe:lha
  56.  
  57. $(README): $(DOC)
  58.     echo "Short:    patches text.datatype to support searching" >pipe:readme
  59.     echo "Author:   ruppert@vs3.informatik.fh-wiesbaden.de"     >pipe:readme
  60.     echo "Uploader: ruppert@vs3.informatik.fh-wiesbaden.de"     >pipe:readme
  61.     echo "Type:     util/dtype*n"                               >pipe:readme
  62.     type $(DOC) >pipe:readme
  63.     copy pipe:readme $(README)
  64.  
  65. ##############################################################################
  66. #
  67. # clean up
  68. #
  69.  
  70. clean:
  71.     delete $(NAME)
  72.  
  73.